/*
   Copyright 2012 SciAgnito, Inc.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
 
 */

/**
 *
 */
package org.open834.element;

import org.open834.Base;

/**
 * A class to validate and store elements. These elements will be combined
 * to make segments.
 * 
 * All of the necessary parsing and formatting rules for each element will reside
 * in this class.
 */
public class DataElement extends Base {
	
	/**
	 * Numeric Type with no implied decimals. Integer.
	 */
	public static final int TYPE_N = 0;

	/**
	 * Numeric Type with one implied decimal.
	 */
	public static final int TYPE_N1 = 1;

	/**
	 * Numeric Type with one implied decimal.
	 */
	public static final int TYPE_N2 = 2;

	/**
	 * Numeric Type with one implied decimal.
	 */
	public static final int TYPE_N3 = 3;

	/**
	 * Numeric Type with one implied decimal.
	 */
	public static final int TYPE_N4 = 4;

	/**
	 * Numeric Type with one implied decimal.
	 */
	public static final int TYPE_N5 = 5;

	/**
	 * Numeric Type with one implied decimal.
	 */
	public static final int TYPE_N6 = 6;

	/**
	 * Numeric Type with one implied decimal.
	 */
	public static final int TYPE_N7 = 7;

	/**
	 * Numeric Type with one implied decimal.
	 */
	public static final int TYPE_N8 = 8;

	/**
	 * Decimal type decimals explicit
	 */
	public static final int TYPE_R = 9;
	

	/**
	 * Identifier type
	 */
	public static final int TYPE_ID = 10;
	

	/**
	 * String type
	 */
	public static final int TYPE_AN = 0;
	

	/**
	 * Date type
	 */
	public static final int TYPE_DT = 0;
	

	/**
	 * Time type
	 */
	public static final int TYPE_TM = 0;
	

	/**
	 * Binary type.
	 */
	public static final int TYPE_B = 0;

}
